package com.design_pattern._01_create._01_singleton;

/**
 * 懒汉式
 */
public class V1 {
    private static V1 instance = new V1();

    private V1() {
        super();
    }

    public static V1 getInstance(){
        return instance;
    }
}
